package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.TaskTime;
import com.secxiot.provider.task.entity.TaskTimeExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskTimeDao {
    int countByExample(TaskTimeExample example);

    int deleteByExample(TaskTimeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskTime record);

    int insertSelective(TaskTime record);

    List<TaskTime> selectByExample(TaskTimeExample example);

    TaskTime selectByPrimaryKey(Long id);

    Long getTaskTime(Long taskId);

    int updateByExampleSelective(@Param("record") TaskTime record, @Param("example") TaskTimeExample example);

    int updateByExample(@Param("record") TaskTime record, @Param("example") TaskTimeExample example);

    int updateByPrimaryKeySelective(TaskTime record);

    int updateByPrimaryKey(TaskTime record);
}